from django.db import models


class UtilsModel(models.Model):
    create_time = models.DateTimeField(auto_now=True, verbose_name='最后一次修改时间')
    first_time = models.DateTimeField(auto_now_add=True, verbose_name='首次创建时间')
    choices = (
        (0, '启用'), (1, '停用')
    )
    now_status = models.IntegerField(verbose_name='当前状态', choices=choices, default=0, blank=True, null=False)
    remark_describe = models.TextField(verbose_name='描述', blank=True, null=True)

    class Meta:
        abstract = True